package com.imelite.qyh.factory;

import com.imelite.qyh.base.result.ResultBean;
import com.imelite.qyh.model.Wechat;
import com.imelite.qyh.repository.WechatRepository;

public class WechatFactory {
    private final static WechatRepository repository=WechatRepository.getInstance();

    public static Wechat selectByPrimaryKey(String id){
        return repository.selectByPrimaryKey(id);
    }

    public static ResultBean updateByPrimaryKeySelective(Wechat record){
        return repository.updateByPrimaryKeySelective(record);
    }
}
